package com.example.queue.controller;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

import com.example.queue.util.HibernateUtil;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		SessionFactory sessionFactory = HibernateUtil.getSessionFactory();
		Session session = sessionFactory.openSession();
		session.beginTransaction();
		session.close();
	}

}
